import request from "@/utils/request";

/**
 * 获取账号列表
 */
export const getAccountListApi = (data) => {
    return request({
        url: "/admin/sys_user/list",
        method: "post",
        data
    })
}

/**
 * 新增账号
 */
export const addAccountApi = (data) => {
    return request({
        url: "/admin/sys_user/add",
        method: "post",
        data
    })
}

/**
 * 编辑账号
 */
export const editAccountApi = (data) => {
    return request({
        url: "/admin/sys_user/edit",
        method: "post",
        data
    })
}

